package com.gxgeek.apigateway;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.netflix.zuul.filters.ZuulProperties;
import org.springframework.stereotype.Component;

/**
 * @author gaoxing
 * @create 2018-03-29 下午9:24
 */
//@Component
//public class ZuulConfig {
//    //动态更新配置
//    @RefreshScope
//    @ConfigurationProperties("zuul")
//    public ZuulProperties zuulProperties(){
//        return new ZuulProperties();
//    }
//}

